package cn.le.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;

@ApiModel(value = "设备模型")
public class DeviceDTO {
    @ApiModelProperty(value = "名称")
    @NotBlank
    private String name;
    @ApiModelProperty(value = "设备唯一码")
    @NotBlank
    private String imei;
    @ApiModelProperty(value = "产品id")
    private Long productId;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImei() {
        return imei;
    }

    public void setImei(String imei) {
        this.imei = imei;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }
}
